 /**
   * \file
   *           teleMainAppThread.h
   * \brief
   *           Implements RPC Thread for some BLs' applications.
   *
   * \par Author (last changes):
   *          - Song Li
   *          - BUIC, Continental Automotive Holdings Co., Ltd.
   * \par Project Leader:
   *          - Min Cai
   *          - BUIC, Continental Automotive Holdings Co., Ltd.
   * \par Responsible Developer:
   *          - Song Li
   *          - BUIC, Continental Automotive Holdings Co., Ltd.
   * \par Responsible Architect:
   *          - Zhang Fa
   *          - BUIC, Continental Automotive Holdings Co., Ltd.
   *
   * \par Project:
   *      DPCA2
   *
   * \par SW-Component:
   *      Telematics
   *
   * \par SW-Package:
   *      Telematics
   *
   * \par SW-Module:
   *      Telematics Application
   *
   * \par SW-Architecture Specification:
   *      DPCA2_SW_DD_Telematics(System)_V06B_Released
   *
   * \par SW-Design Specification:
   *      DPCA2_TELEMATICS_SW_DD_06b_release
   *
   * \par SW-Test Case Specification:
   *
   * \par CM-Info:
   *
   * \note
   *      This is a note.
   *
   * \bug
   *      - there are no known bugs
   *
   * \par Module-History:
   *
   * \verbatim
   * Date                Author                   Reason
   * 10 Apr 2013         Song Li              Initial Creation
   * The latest entry at the head of the history list.
   * \endverbatim
   *
   * \par Copyright Notice:
   * Copyright (C) 2012 Continental Automotive Holdings Co., Ltd.
   * Alle Rechte vorbehalten. All Rights Reserved.\n
   * The reproduction, transmission or use of this document or its contents is
   * not permitted without express written authority.\n
   * Offenders will be liable for damages. All rights, including rights created
   * by patent grant or registration of a utility model or design, are reserved.
   *
   */


#pragma once

#include <windows.h>
#include "Winuser.h"
#include "RPCThread.h"
#include "ThreadSignal.h"

#include "tlmPushObjApp.h"
#include "ConnMgrApp.h"
#include "tlmUrlBackApp.h"

using namespace std;


class teleMainAppThread:public RPCThread
{

public:

	teleMainAppThread( char * name, ThreadPriorityType priority, ThreadStackSizeType stackSize );
	virtual ~teleMainAppThread(void);
	virtual void instantiate(void);
	virtual void initialize (void);
	void deInitialize(void) const;

    void onHook(void);

	tlmPushObjApp *pTlmPushObjApp;
    ConnMgrApp *pConnMgrApp;
    tlmUrlBackApp *pTlmUrlBackApp;
};

